9.1
CRITICAL CVSS 3.1
CVE-2026-7482
Ollama heap out-of-bounds read in GGUF tensor parsing leaks server process memory to unauthenticated remote attackers
Description

Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer. The leaked memory contents may include environment variables, API keys, system prompts, and concurrent users' conversation data, and can be exfiltrated by uploading the resulting model artifact through the /api/push endpoint to an attacker-controlled registry. The /api/create and /api/push endpoints have no authentication in the upstream distribution. Default deployments bind to 127.0.0.1, but the documented OLLAMA_HOST=0.0.0.0 configuration is widely used in practice (large public-internet exposure observed).

INFO

Published Date :

May 4, 2026, 1:16 p.m.

Last Modified :

May 11, 2026, 12:27 p.m.

Remotely Exploit :

Yes !

Source :

abd028dc-c042-4c4d-9749-38d0f850af89
Affected Products

The following products are affected by CVE-2026-7482 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Ollama ollama
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL abd028dc-c042-4c4d-9749-38d0f850af89
CVSS 4.0 HIGH abd028dc-c042-4c4d-9749-38d0f850af89
CVSS 4.0 HIGH abd028dc-c042-4c4d-9749-38d0f850af89
Solution
Update Ollama to version 0.17.1 or later to fix heap out-of-bounds read vulnerability.
  • Update Ollama to 0.17.1 or later.
  • Restrict access to /api/create and /api/push endpoints.
  • Do not use default 0.0.0.0 binding for Ollama.
Public PoC/Exploit Available at Github

CVE-2026-7482 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-7482.

URL Resource
https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047 Patch
https://github.com/ollama/ollama/pull/14406 Issue Tracking Patch
https://github.com/ollama/ollama/releases/tag/v0.17.1 Release Notes
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-7482 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-7482 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Gemma 4 강의 복습 퀴즈 생성기 (Streamlit + Gemini)

Python Shell

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 16, 2026, 2:20 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 10, 2026, 10:36 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 10, 2026, 9:21 p.m. This repo has been linked 1 different CVEs too.

Ollama CVE-2026-7482 Heap OOB read reproduction and black-box impact notes

Python

Updated: 2 weeks, 3 days ago
0 stars 0 fork 0 watcher
Born at : May 7, 2026, 4:35 p.m. This repo has been linked 1 different CVEs too.

1day vuln research I guess

Python

Updated: 2 weeks, 4 days ago
2 stars 0 fork 0 watcher
Born at : May 5, 2026, 7:55 p.m. This repo has been linked 1 different CVEs too.

Vendor-agnostic security evals for LLM inference stacks. Detects behavioral divergence across models, backends, and hardware.

ai-security inference llm-security local-llm model-evaluation ollama owasp prompt-injection red-teaming security-testing

Python

Updated: 4 days, 1 hour ago
0 stars 0 fork 0 watcher
Born at : April 19, 2026, 3:19 a.m. This repo has been linked 1 different CVEs too.

Spring AI및 Langchain4j를 사용한 RAG(Retrieval-Augmented Generation) 샘플

Java HTML

Updated: 1 week, 6 days ago
7 stars 14 fork 14 watcher
Born at : Dec. 3, 2025, 6:54 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-7482 vulnerability anywhere in the article.

  • The Hacker News
Ollama Out-of-Bounds Read Vulnerability Allows Remote Process Memory Leak

Cybersecurity researchers have disclosed a critical security vulnerability in Ollama that, if successfully exploited, could allow a remote, unauthenticated attacker to leak its entire process memory. ... Read more

Published Date: May 10, 2026 (2 weeks ago)
  • CybersecurityNews
Critical Ollama Memory Leak Vulnerability Exposes 300,000 Servers Globally

A major security flaw has placed Ollama, one of the most widely used platforms for running local AI models, at risk of a high-profile exposure event. The issue, dubbed “Bleeding Llama,” allows unauthe ... Read more

Published Date: May 07, 2026 (2 weeks, 3 days ago)

The following table lists the changes that have been made to the CVE-2026-7482 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    May. 11, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* versions up to (excluding) 0.17.1
    Added Reference Type Echo: https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047 Types: Patch
    Added Reference Type Echo: https://github.com/ollama/ollama/pull/14406 Types: Issue Tracking, Patch
    Added Reference Type Echo: https://github.com/ollama/ollama/releases/tag/v0.17.1 Types: Release Notes
  • New CVE Received by abd028dc-c042-4c4d-9749-38d0f850af89

    May. 04, 2026

    Action Type Old Value New Value
    Added Description Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader. The /api/create endpoint accepts an attacker-supplied GGUF file in which the declared tensor offset and size exceed the file's actual length; during quantization in fs/ggml/gguf.go and server/quantization.go (WriteTo()), the server reads past the allocated heap buffer. The leaked memory contents may include environment variables, API keys, system prompts, and concurrent users' conversation data, and can be exfiltrated by uploading the resulting model artifact through the /api/push endpoint to an attacker-controlled registry. The /api/create and /api/push endpoints have no authentication in the upstream distribution. Default deployments bind to 127.0.0.1, but the documented OLLAMA_HOST=0.0.0.0 configuration is widely used in practice (large public-internet exposure observed).
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:A/V:D/RE:L/U:Red
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
    Added CWE CWE-125
    Added Reference https://github.com/ollama/ollama/commit/88d57d0483cca907e0b23a968c83627a20b21047
    Added Reference https://github.com/ollama/ollama/pull/14406
    Added Reference https://github.com/ollama/ollama/releases/tag/v0.17.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.